package com.example.shop_2304.room

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query

@Dao
interface PlDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(pinglun: Pinglun)
    @Query("select * from pinglun where gid = :id")
    fun query(id:Int):MutableList<Pinglun>
}